<template>
  <div @click="onTabClick" class="ps">
    <image :src="src"></image>
  </div>
</template>

<script>
  export default {
    name: 'Should',
    props: {
      src: {
        type: String,
        default: '',
      },
    },
    methods: {
      //进对应的页面
      onTabClick() {
        this.$emit('click')
      },
    },
  }
</script>

<style scoped lang="scss">
  .ps {
    padding: 0 30rpx 30rpx 31rpx;
    image {
      width: 689rpx;
      height: 235rpx;
      border-radius: 10rpx;
    }
  }
</style>
